import { mergeTemplates } from '$lib/builder';
import { Collision, Description, Feature, Glyph, Immobile, Impassable, Opaque } from '$lib/components';

export const wall = [
  [Description, {
    summary: 'wall',
    description: 'It separates here from there.',
  }],
  [Opaque],
  [Impassable],
  [Collision],
  [Feature],
  [Immobile],
  [Glyph, {
    glyph: '#',
  }],
];

export const metalWall = mergeTemplates(wall, [
  [Description, {
    summary: 'metal wall',
    description: 'A wall made of metal. Shiny and tough.',
  }],
  [Glyph, {
    color: '#46a',
  }],
]);

// export const glassWall = mergeTemplates(wall, glass);

export const brickWall = mergeTemplates(wall, [
  [Description, {
    summary: 'brick wall',
    description: 'Standard built.',
  }],
  [Glyph, {
    color: '#a84',
  }],
]);
